package com.longjianghuasheng.logistics.entity

import com.longjianghuasheng.logistics.business.detail.WarehousingEntity
import com.longjianghuasheng.logistics.data.model.bean.ApiResponseNoData


data class OrderType(
    var id: Int? = 0,
    var title: String? = ""
)


data class OrderList(
    var counts: Int? = 0,
    var data: MutableList<Order>? = mutableListOf(),
    var page: Int? = 0,
    var pay_ewm: String? = ""
) : ApiResponseNoData()


data class OrderDetail(
    var box_no: String? = "",
    var create_time: Long? = 0,
    var form_type: String? = "",
    var id: Int? = 0,
    var picurl: String? = "",
    var price: String? = "",
    var service_name: String? = "",
    var sign_status: Int? = 0,
    var status: Int? = 0,
    var trade_no: String? = "",
    var names: String? = "",


    var ewm: String? = "",
    var check_type: String? = "",
    var is_agree: Int? = 0,

    var end_address: String? = "",
    var nums: String? = "",
    var start_address: String? = "",
    var volume: String? = "",
    var weights: String? = ""
)

data class Order(
    var create_time: String? = "",
    var form_type: String? = "",
    var names: String? = "",
    var id: Int? = 0,
    var picurl: String? = "",
    var price: String? = "",
    var service_name: String? = "",
    var sign_status: Int? = 0,
    var status: Int? = 0,
    var trade_no: String? = "",
    var box_no: String? = "",
    var ewm: String? = "",
    var ewm1: String? = "",
    var check_type: String? = "",
    var is_agree: Int? = 0,
    var box_receive: String? = "",
    var end_address: String? = "",
    var nums: String? = "",
    var start_address: String? = "",
    var volume: String? = "",
    var weights: String? = "",
    var zjfw: String? = "",
    var goods_name: String? = "",
    var times: String? = "",
    var mianji: String? = "",

    )


data class OrderDetailResponse(
    var form: Form? = Form(),
    var order: Order? = Order(),
    var storage: MutableList<WarehousingEntity>? = mutableListOf(),
    var storage_son: MutableList<WarehousingEntity>? = mutableListOf()
) : ApiResponseNoData()

data class Form(
    var ways: MutableList<Way>? = mutableListOf(),
    var add_service1: String? = "",
    var add_service2: String? = "",
    var end_address: String? = "",
    var names: String? = "",
    var nums: String? = "",
    var nums2: String? = "",
    var sent_date: String? = "",
    var sent_type: String? = "",
    var start_address: String? = "",
    var volume: String? = "",
    var weights: String? = "",
    var sid1: Int? = 0,
    var sid2: Int? = 0,

    var get_type: Int? = 0,
    var type: Int? = 0,

    var place_type: Int? = 0,

    var types: String? = "",
    var rules: String? = "",
    var rules2: String? = "",
    var imorex: Int?=0,

    var packets: String? = "",

    )

data class RecordDetailResponse(
    var form: Form1? = Form1(),
    var order: Order? = Order(),
    var storage: MutableList<WarehousingEntity>? = mutableListOf(),
    var storage_son: MutableList<WarehousingEntity>? = mutableListOf()
) : ApiResponseNoData()

data class Form1(
    var ways: String? = "",
    var add_service1: String? = "",
    var add_service2: String? = "",
    var end_address: String? = "",
    var names: String? = "",
    var nums: String? = "",
    var nums2: String? = "",
    var sent_date: String? = "",
    var sent_type: String? = "",
    var start_address: String? = "",
    var volume: String? = "",
    var weights: String? = "",

    var sid1: Int? = 0,
    var sid2: Int? = 0,
    var get_type: Int? = 0,
    var type: Int? = 0,
    var place_type: Int? = 0,

    var types: String? = "",
    var rules: String? = "",
    var rules2: String? = "",


    var packets: String? = "",
    var imorex: Int? = 0,
)


data class Way(
    var description: String? = "",
    var status: String? = "",
    var title: String? = "",
    var type: String? = "",
    var start_time: String = "",
    var end_time: String = ""

)
